package com.xpsoft.oa.model.produce;


import com.google.gson.annotations.Expose;
import com.xpsoft.oa.model.system.AppUser;

/**
 * MaterialPurchaseAdjustInfo Base Java Bean, base class for the.oa.model, mapped directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten. 
 *
 * TODO: add class/table comments
 */
public class MaterialPurchaseAdjustInfo extends com.xpsoft.core.model.BaseModel {

	@Expose
    protected Long id;  
	@Expose
	protected MaterialPurchaseAdjust materialPurchaseAdjust;
	@Expose
	protected Material material;
	@Expose
	protected String details;
	@Expose
	protected Integer num;
	@Expose
	protected java.util.Date enterDate;
	@Expose
	protected String position;
	@Expose
	protected String requirement;
	@Expose
	protected String remark;
	@Expose
	protected AppUser createUser;
	@Expose
	protected java.util.Date createTime;
	@Expose
	protected String addOrMinus;
	@Expose
	protected Integer changeNum;


	/**
	 * Default Empty Constructor for class MaterialPurchaseAdjustInfo
	 */
	public MaterialPurchaseAdjustInfo () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class MaterialPurchaseAdjustInfo
	 */
	public MaterialPurchaseAdjustInfo (
		 Long in_id
        ) {
		this.setId(in_id);
    }

    

	/**
	 * 	 * @return Long
     * @hibernate.id column="id" type="java.lang.Long" generator-class="native"
	 */
	public Long getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Long aValue) {
		this.id = aValue;
	}	


	public MaterialPurchaseAdjust getMaterialPurchaseAdjust() {
		return materialPurchaseAdjust;
	}

	public void setMaterialPurchaseAdjust(
			MaterialPurchaseAdjust materialPurchaseAdjust) {
		this.materialPurchaseAdjust = materialPurchaseAdjust;
	}

	public Material getMaterial() {
		return material;
	}

	public void setMaterial(Material material) {
		this.material = material;
	}

	/**
	 * 详细说明	 * @return String
	 * @hibernate.property column="details" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getDetails() {
		return this.details;
	}
	
	/**
	 * Set the details
	 */	
	public void setDetails(String aValue) {
		this.details = aValue;
	}	

	/**
	 * 数量	 * @return Integer
	 * @hibernate.property column="num" type="java.lang.Integer" length="10" not-null="false" unique="false"
	 */
	public Integer getNum() {
		return this.num;
	}
	
	/**
	 * Set the num
	 */	
	public void setNum(Integer aValue) {
		this.num = aValue;
	}	

	/**
	 * 拟到场时间	 * @return java.util.Date
	 * @hibernate.property column="enterDate" type="java.util.Date" length="19" not-null="false" unique="false"
	 */
	public java.util.Date getEnterDate() {
		return this.enterDate;
	}
	
	/**
	 * Set the enterDate
	 */	
	public void setEnterDate(java.util.Date aValue) {
		this.enterDate = aValue;
	}	

	/**
	 * 施工（种植）位置	 * @return String
	 * @hibernate.property column="position" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getPosition() {
		return this.position;
	}
	
	/**
	 * Set the position
	 */	
	public void setPosition(String aValue) {
		this.position = aValue;
	}	

	/**
	 * 包装要求	 * @return String
	 * @hibernate.property column="requirement" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getRequirement() {
		return this.requirement;
	}
	
	/**
	 * Set the requirement
	 */	
	public void setRequirement(String aValue) {
		this.requirement = aValue;
	}	

	/**
	 * 备注	 * @return String
	 * @hibernate.property column="remark" type="java.lang.String" length="65535" not-null="false" unique="false"
	 */
	public String getRemark() {
		return this.remark;
	}
	
	/**
	 * Set the remark
	 */	
	public void setRemark(String aValue) {
		this.remark = aValue;
	}	


	public AppUser getCreateUser() {
		return createUser;
	}

	public void setCreateUser(AppUser createUser) {
		this.createUser = createUser;
	}

	/**
	 * 	 * @return java.util.Date
	 * @hibernate.property column="createTime" type="java.util.Date" length="19" not-null="false" unique="false"
	 */
	public java.util.Date getCreateTime() {
		return this.createTime;
	}
	
	/**
	 * Set the createTime
	 */	
	public void setCreateTime(java.util.Date aValue) {
		this.createTime = aValue;
	}	

	/**
	 * 增加或减少	 * @return String
	 * @hibernate.property column="addOrMinus" type="java.lang.String" length="10" not-null="false" unique="false"
	 */
	public String getAddOrMinus() {
		return this.addOrMinus;
	}
	
	/**
	 * Set the addOrMinus
	 */	
	public void setAddOrMinus(String aValue) {
		this.addOrMinus = aValue;
	}	

	/**
	 * 数量	 * @return Integer
	 * @hibernate.property column="changeNum" type="java.lang.Integer" length="10" not-null="false" unique="false"
	 */
	public Integer getChangeNum() {
		return this.changeNum;
	}
	
	/**
	 * Set the changeNum
	 */	
	public void setChangeNum(Integer aValue) {
		this.changeNum = aValue;
	}	

}
